import java.util.Properties;

public class Test {
    public static void main(String[] args) {
        String url = "http://www.lovo.com/index?name=aaaa&age=20&xinbie=男";

        String url2 = url.substring(url.lastIndexOf("?") + 1, url.length());

        String[] strs = url2.split("&");
        Properties properties = new Properties();
        for (String obj : strs) {
            String[] strs2 = obj.split("=");
            properties.setProperty(strs2[0], strs2[1]);
        }
        Util.storeProperties(properties, "1.properties");
    }
}
